package com.youlai.boot.factory.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.factory.model.entity.WorkReportPackage;
import com.youlai.boot.factory.model.form.WorkReportPackageForm;

/**
 * 报工单-分包关联对象转换器
 *
 * @author youlaitech
 * @since 2025-10-13 13:37
 */
@Mapper(componentModel = "spring")
public interface WorkReportPackageConverter{

    WorkReportPackageForm toForm(WorkReportPackage entity);

    WorkReportPackage toEntity(WorkReportPackageForm formData);
}